]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Use sudo to run meson install
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 14 Aug 2023 23:55:47 +0000 (01:55 +0200)
committerMarge Bot <marge-bot@gnome.org>
Wed, 16 Aug 2023 22:30:39 +0000 (22:30 +0000)
commitd353f2d3670c2b7c6c2a77f53fafd6cb463f31a3
treedbcac6e521453a1cf4b87041519822da26a2256a
parentae86b58d59bb80e6d104debae7c34a890563c321
ci: Use sudo to run meson install

Meson stopped using polkit for automatic privilege elevation, and
will no longer attempt any priviledge elevation when not running
interactively.

Running the entire install command as root used to be problematic
in the past, as it could result in ownership changes of files in
the build directory that would result in build failures later,
but the aforementioned change leaves us with little choice.

Apparently `meson install` will spawn `ninja` with dropped
privileges when a rebuild is needed, so hopefully this will
no longer be an issue.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2892>
.gitlab-ci.yml